Tryit Editor v2.3

Edit This Code:
<!DOCTYPE html> <html> <body> <form action="http://www.w3schools.com/tags/demo_form.asp"> <input type="file" name="pic" accept="image/*"> <input type="submit"> </form> <p><strong>Note:</strong> The accept attribute of the input tag is not supported in Internet Explorer 9 (and earlier versions), and Safari 5 (and earlier).</p> <p><strong>Note:</strong> Because of security issues, this example will not allow you to upload files.</p> </body> <!-- Mirrored from www.w3schools.com/tags/tryit.asp?filename=tryhtml_input_accept by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 08:23:41 GMT --> </html>
Result:
Try it Yourself - © w3schools.com